home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / misc / volume16 / gnuplot2.02 / patch5 < prev    next >
Encoding:
Internet Message Format  |  1991-01-05  |  49.3 KB

  1. From: rjl@monu1.cc.monash.edu.au (Russell Lang)
  2. Newsgroups: comp.sources.misc
  3. Subject: v16i015:  Gnuplot 2.0 patch 2, 5 of 7
  4. Message-ID: <1991Jan5.040647.2591@sparky.IMD.Sterling.COM>
  5. Date: 5 Jan 91 04:06:47 GMT
  6. Approved: kent@sparky.imd.sterling.com
  7. X-Checksum-Snefru: ff16acb1 90033575 450272e5 f48d85df
  8.  
  9. Submitted-by: Russell Lang <rjl@monu1.cc.monash.edu.au>
  10. Posting-number: Volume 16, Issue 15
  11. Archive-name: gnuplot2.02/patch5
  12. Patch-To: gnuplot2.0: Volume 11, Issue 65-79
  13.  
  14. #! /bin/sh
  15. # This is a shell archive.  Remove anything before this line, then unpack
  16. # it by saving it into a file and typing "sh file".  To overwrite existing
  17. # files, type "sh file -c".  You can also feed this as standard input via
  18. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  19. # will see the following message at the end:
  20. #        "End of shell archive."
  21. # Contents:  patch2d
  22. # Wrapped by eln272v@monu1 on Wed Dec 19 11:57:56 1990
  23. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  24. if test -f patch2d -a "${1}" != "-c" ; then 
  25.   echo shar: Will not over-write existing file \"patch2d\"
  26. else
  27. echo shar: Extracting \"patch2d\" \(47123 characters\)
  28. sed "s/^X//" >patch2d <<'END_OF_patch2d'
  29. Xdiff -cr ./makefile.x11 ../gnuplot2.02/makefile.x11
  30. X*** ./makefile.x11    Tue Sep 18 14:56:55 1990
  31. X--- ../gnuplot2.02/makefile.x11    Tue Dec 11 16:42:09 1990
  32. X***************
  33. X*** 1,5
  34. X  #
  35. X! # GNUPLOT Makefile (Unix X11 support)
  36. X  #
  37. X  
  38. X  # directory where to install executables on 'make install'
  39. X
  40. X--- 1,5 -----
  41. X  #
  42. X! # GNUPLOT Makefile (Unix X11 Motif/Athena support)
  43. X  #
  44. X  
  45. X  # directory where to install executables on 'make install'
  46. X***************
  47. X*** 16,22
  48. X  # -DBCOPY if your memcpy() is called bcopy() (a Berkeleyism, right?)
  49. X  # -DBZERO if you need to use bzero() (another BSD feature) instead of memset() 
  50. X  # -DNOCOPY if you don't have a memcpy() by any name
  51. X! # -DGAMMA if you've got gamma(3)
  52. X  # -fswitch if you are compiling on a Sun3 (or even -f68881)
  53. X  #    (but -fswitch is buggy on some systems, so watch out)
  54. X  # -O if you trust your compiler's optimizer
  55. X
  56. X--- 16,27 -----
  57. X  # -DBCOPY if your memcpy() is called bcopy() (a Berkeleyism, right?)
  58. X  # -DBZERO if you need to use bzero() (another BSD feature) instead of memset() 
  59. X  # -DNOCOPY if you don't have a memcpy() by any name
  60. X! # -DGAMMA=gamma if you've got gamma(3)
  61. X! # -DNOCWDRC to inhibit check of ".gnuplot" in current directory
  62. X! #    (for security reasons)
  63. X! # -DGETCWD if your unix uses getcwd() instead of getcd()
  64. X! #    this is needed by HP-UX and Cray Unicos systems.
  65. X! # -Dunix is required to explicitly define "unix" for SCO 
  66. X  # -fswitch if you are compiling on a Sun3 (or even -f68881)
  67. X  #    (but -fswitch is buggy on some systems, so watch out)
  68. X  # -O if you trust your compiler's optimizer
  69. X***************
  70. X*** 20,27
  71. X  # -fswitch if you are compiling on a Sun3 (or even -f68881)
  72. X  #    (but -fswitch is buggy on some systems, so watch out)
  73. X  # -O if you trust your compiler's optimizer
  74. X! # -Dunix and no -DVFORK if IBM RS/6000 AIX 3.1
  75. X! CFLAGS = -DVFORK -DBCOPY -DBZERO -DGAMMA #-gx #-O
  76. X  
  77. X  # -lplot if you have -DUNIXPLOT
  78. X  # -lsuntool -lsunwindow -lpixrect  if you have -DSUN
  79. X
  80. X--- 25,31 -----
  81. X  # -fswitch if you are compiling on a Sun3 (or even -f68881)
  82. X  #    (but -fswitch is buggy on some systems, so watch out)
  83. X  # -O if you trust your compiler's optimizer
  84. X! CFLAGS = -DVFORK -DBCOPY -DBZERO -DGAMMA=gamma #-gx #-O
  85. X  
  86. X  # -lplot if you have -DUNIXPLOT
  87. X  # -lsuntool -lsunwindow -lpixrect  if you have -DSUN
  88. X***************
  89. X*** 26,31
  90. X  # -lplot if you have -DUNIXPLOT
  91. X  # -lsuntool -lsunwindow -lpixrect  if you have -DSUN
  92. X  # -lgl_s if IRIS4D
  93. X  LIBS = -lm -lplot
  94. X  
  95. X  # standard MIT X11 R4:  -lXaw -lXmu -lXt -lXext -lX11
  96. X
  97. X--- 30,36 -----
  98. X  # -lplot if you have -DUNIXPLOT
  99. X  # -lsuntool -lsunwindow -lpixrect  if you have -DSUN
  100. X  # -lgl_s if IRIS4D
  101. X+ # -lccgi if -DCGI
  102. X  LIBS = -lm -lplot
  103. X  
  104. X  # -DMOTIF if Motif rather then Athena
  105. X***************
  106. X*** 28,33
  107. X  # -lgl_s if IRIS4D
  108. X  LIBS = -lm -lplot
  109. X  
  110. X  # standard MIT X11 R4:  -lXaw -lXmu -lXt -lXext -lX11
  111. X  # Apollo DomainOS 10.4.2 (R3): -L/usr/lib/X11 -lXaw -lXmu -lXt -lX11
  112. X  # IBM RS/6000 AIX 3.1 (R3): -L/usr/lpp/X11/Xamples/lib/Xmu \
  113. X
  114. X--- 33,41 -----
  115. X  # -lccgi if -DCGI
  116. X  LIBS = -lm -lplot
  117. X  
  118. X+ # -DMOTIF if Motif rather then Athena
  119. X+ X11FLAGS = #-DMOTIF
  120. X+ 
  121. X  # standard MIT X11 R4:  -lXaw -lXmu -lXt -lXext -lX11
  122. X  # Apollo DomainOS 10.3 (R3/Athena): -L/usr/lib/X11 -lXaw -lXmu -lXt -lX11
  123. X  # Apollo DomainOS 10.3 (R3/Motif): -L/usr/lib/X11 -lXm -lXtm -lX11
  124. X***************
  125. X*** 29,36
  126. X  LIBS = -lm -lplot
  127. X  
  128. X  # standard MIT X11 R4:  -lXaw -lXmu -lXt -lXext -lX11
  129. X! # Apollo DomainOS 10.4.2 (R3): -L/usr/lib/X11 -lXaw -lXmu -lXt -lX11
  130. X! # IBM RS/6000 AIX 3.1 (R3): -L/usr/lpp/X11/Xamples/lib/Xmu \
  131. X  #                -L/usr/lpp/X11/Xamples/lib/Xaw \
  132. X  #                        -lXaw -lXmu -lXt -lXext -lX11
  133. X  X11LIBS = -lXaw -lXmu -lXt -lXext -lX11
  134. X
  135. X--- 37,45 -----
  136. X  X11FLAGS = #-DMOTIF
  137. X  
  138. X  # standard MIT X11 R4:  -lXaw -lXmu -lXt -lXext -lX11
  139. X! # Apollo DomainOS 10.3 (R3/Athena): -L/usr/lib/X11 -lXaw -lXmu -lXt -lX11
  140. X! # Apollo DomainOS 10.3 (R3/Motif): -L/usr/lib/X11 -lXm -lXtm -lX11
  141. X! # IBM RS/6000 AIX 3.1 (R3/Athena): -L/usr/lpp/X11/Xamples/lib/Xmu \
  142. X  #                -L/usr/lpp/X11/Xamples/lib/Xaw \
  143. X  #                        -lXaw -lXmu -lXt -lXext -lX11
  144. X  # IBM RS/6000 AIX 3.1 (R3/Motif): -lXm -lXt -lX11
  145. X***************
  146. X*** 33,38
  147. X  # IBM RS/6000 AIX 3.1 (R3): -L/usr/lpp/X11/Xamples/lib/Xmu \
  148. X  #                -L/usr/lpp/X11/Xamples/lib/Xaw \
  149. X  #                        -lXaw -lXmu -lXt -lXext -lX11
  150. X  X11LIBS = -lXaw -lXmu -lXt -lXext -lX11
  151. X  
  152. X  # standard MIT X11 R4: -I/usr/include/X11 -I/usr/include/X11/Xaw 
  153. X
  154. X--- 42,49 -----
  155. X  # IBM RS/6000 AIX 3.1 (R3/Athena): -L/usr/lpp/X11/Xamples/lib/Xmu \
  156. X  #                -L/usr/lpp/X11/Xamples/lib/Xaw \
  157. X  #                        -lXaw -lXmu -lXt -lXext -lX11
  158. X+ # IBM RS/6000 AIX 3.1 (R3/Motif): -lXm -lXt -lX11
  159. X+ # HP 9000/375 HP-UX 6.5 and 7.0 (R3/Motif): -lXm -lXt -lX11
  160. X  X11LIBS = -lXaw -lXmu -lXt -lXext -lX11
  161. X  
  162. X  # standard MIT X11 R4: -I/usr/include/X11 -I/usr/include/X11/Xaw 
  163. X***************
  164. X*** 36,44
  165. X  X11LIBS = -lXaw -lXmu -lXt -lXext -lX11
  166. X  
  167. X  # standard MIT X11 R4: -I/usr/include/X11 -I/usr/include/X11/Xaw 
  168. X! # Apollo DomainOS 10.4.2 (R3): -I/usr/include/X11
  169. X! # IBM RS/6000 AIX 3.1 (R3): -I/usr/include/X11 -I/usr/lpp/X11/Xamples/lib/Xaw \
  170. X! #                        -I/usr/lpp/X11/Xamples/lib/Xaw/X11
  171. X  X11INCLUDES = -I/usr/include/X11 -I/usr/include/X11/Xaw
  172. X  
  173. X  # -D<terminal> in TERMFLAGS iff you wish to support <terminal>
  174. X
  175. X--- 47,59 -----
  176. X  X11LIBS = -lXaw -lXmu -lXt -lXext -lX11
  177. X  
  178. X  # standard MIT X11 R4: -I/usr/include/X11 -I/usr/include/X11/Xaw 
  179. X! # Apollo DomainOS 10.3 (R3/Athena): -I/usr/include/X11
  180. X! # Apollo DomainOS 10.3 (R3/Motif): -I/usr/include/Xm
  181. X! # IBM RS/6000 AIX 3.1 (R3/Athena): -I/usr/include/X11 \
  182. X! #                   -I/usr/lpp/X11/Xamples/lib/Xaw \
  183. X! #                               -I/usr/lpp/X11/Xamples/lib/Xaw/X11
  184. X! # IBM RS/6000 AIX 3.1 (R3/Motif): -I/usr/include/Xm
  185. X! # HP 9000/375 HP-UX 6.5 and 7.0 (R3/Motif): -I/usr/include/Xm
  186. X  X11INCLUDES = -I/usr/include/X11 -I/usr/include/X11/Xaw
  187. X  
  188. X  # -D<terminal> in TERMFLAGS iff you wish to support <terminal>
  189. X***************
  190. X*** 43,48
  191. X  
  192. X  # -D<terminal> in TERMFLAGS iff you wish to support <terminal>
  193. X  # see other terminal defines in term.h
  194. X  # -DFIG         Fig graphics language (requires object.h from TransFig)
  195. X  # -DIRIS4D      IRIS4D series computer
  196. X  # -DSUN         Sun Microsystems Workstation
  197. X
  198. X--- 58,64 -----
  199. X  
  200. X  # -D<terminal> in TERMFLAGS iff you wish to support <terminal>
  201. X  # see other terminal defines in term.h
  202. X+ # -DCGI        SCO CGI
  203. X  # -DFIG         Fig graphics language (requires object.h from TransFig)
  204. X  # -DIRIS4D      IRIS4D series computer
  205. X  # -DSUN         Sun Microsystems Workstation
  206. X***************
  207. X*** 51,57
  208. X  
  209. X  TERMFLAGS =  -Iterm -DUNIXPLOT -DX11
  210. X  
  211. X! OBJS = command.o eval.o graphics.o help.o internal.o misc.o parse.o\
  212. X      plot.o scanner.o setshow.o standard.o term.o util.o 
  213. X  
  214. X  DIRS = term demo bugtest docs docs/latextut translate
  215. X
  216. X--- 67,73 -----
  217. X  
  218. X  TERMFLAGS =  -Iterm -DUNIXPLOT -DX11
  219. X  
  220. X! OBJS = bitmap.o command.o eval.o graphics.o help.o internal.o misc.o parse.o\
  221. X      plot.o scanner.o setshow.o standard.o term.o util.o 
  222. X  
  223. X  DIRS = term demo bugtest docs docs/latextut translate
  224. X***************
  225. X*** 58,71
  226. X  CSOURCE1 = command.c setshow.c 
  227. X  CSOURCE2 = help.c graphics.c internal.c 
  228. X  CSOURCE3 = misc.c eval.c parse.c plot.c scanner.c standard.c 
  229. X! CSOURCE4 = term.c util.c version.c
  230. X! CSOURCE5 = term/aed.trm term/dxy.trm term/epson.trm term/font5x7.trm \
  231. X!     term/hp26.trm term/hp2648.trm term/hpgl.trm \
  232. X!     term/hpljet.trm term/iris4d.trm term/sun.trm
  233. X! CSOURCE6 = term/post.trm term/pc.trm term/qms.trm term/regis.trm \
  234. X!     term/tek.trm term/unixpc.trm term/unixplot.trm term/v384.trm
  235. X! CSOURCE7 = term/imPcodes.h term/imagen.trm term/object.h term/fig.trm \
  236. X!     term/latex.trm term/eepic.trm term/x11.trm gnuplot_x11.c
  237. X  # not C code, but still needed
  238. X  ETC = Copyright README README.gnutex makefile.unx makefile.vms  \
  239. X      README.x11 makefile.x11 \
  240. X
  241. X--- 74,88 -----
  242. X  CSOURCE1 = command.c setshow.c 
  243. X  CSOURCE2 = help.c graphics.c internal.c 
  244. X  CSOURCE3 = misc.c eval.c parse.c plot.c scanner.c standard.c 
  245. X! CSOURCE4 = bitmap.c term.c util.c version.c
  246. X! CSOURCE5 = term/aed.trm term/cgi.trm term/dxy.trm term/eepic.trm \
  247. X!     term/epson.trm term/fig.trm term/hp26.trm term/hp2648.trm \
  248. X!     term/hpgl.trm term/hpljii.trm 
  249. X! CSOURCE6 = term/imPcodes.h term/imagen.trm term/object.h \
  250. X!     term/iris4d.trm term/kyo.trm term/latex.trm term/pc.trm 
  251. X! CSOURCE7 = term/post.trm term/qms.trm term/regis.trm term/sun.trm \
  252. X!     term/t410x.trm term/tek.trm term/unixpc.trm term/unixplot.trm \
  253. X!     term/v384.trm term/x11.trm gnuplot_x11.c
  254. X  # not C code, but still needed
  255. X  ETC = Copyright README README.gnutex makefile.unx makefile.vms  \
  256. X      README.x11 makefile.x11 \
  257. X***************
  258. X*** 69,75
  259. X  # not C code, but still needed
  260. X  ETC = Copyright README README.gnutex makefile.unx makefile.vms  \
  261. X      README.x11 makefile.x11 \
  262. X!     makefile.3b1 plot.h help.h setshow.h term.h lasergnu \
  263. X       demo/1.dat demo/2.dat demo/3.dat demo/controls.demo \
  264. X      demo/simple.demo demo/polar.demo demo/electron.demo \
  265. X      bugtest/README bugtest/printf.c bugtest/scanf.c \
  266. X
  267. X--- 86,92 -----
  268. X  # not C code, but still needed
  269. X  ETC = Copyright README README.gnutex makefile.unx makefile.vms  \
  270. X      README.x11 makefile.x11 \
  271. X!     makefile.3b1 plot.h help.h setshow.h bitmap.h term.h lasergnu \
  272. X       demo/1.dat demo/2.dat demo/3.dat demo/controls.demo \
  273. X      demo/simple.demo demo/polar.demo demo/electron.demo \
  274. X      demo/param.demo demo/using.demo demo/using.dat \
  275. X***************
  276. X*** 72,77
  277. X      makefile.3b1 plot.h help.h setshow.h term.h lasergnu \
  278. X       demo/1.dat demo/2.dat demo/3.dat demo/controls.demo \
  279. X      demo/simple.demo demo/polar.demo demo/electron.demo \
  280. X      bugtest/README bugtest/printf.c bugtest/scanf.c \
  281. X      bugtest/mscbug.c term/README \
  282. X      linkopt.vms buildvms.com
  283. X
  284. X--- 89,95 -----
  285. X      makefile.3b1 plot.h help.h setshow.h bitmap.h term.h lasergnu \
  286. X       demo/1.dat demo/2.dat demo/3.dat demo/controls.demo \
  287. X      demo/simple.demo demo/polar.demo demo/electron.demo \
  288. X+     demo/param.demo demo/using.demo demo/using.dat \
  289. X      bugtest/README bugtest/printf.c bugtest/scanf.c \
  290. X      bugtest/mscbug.c term/README \
  291. X      linkopt.vms buildvms.com
  292. X***************
  293. X*** 82,88
  294. X  DOCS1 = docs/Makefile docs/README docs/checkdoc.c docs/doc2gih.c \
  295. X      docs/doc2hlp.c docs/doc2hlp.com docs/doc2ms.c docs/doc2tex.c \
  296. X      docs/gnuplot.1 docs/lasergnu.1 \
  297. X!     docs/titlepage.ms docs/titlepage.tex 
  298. X  DOCS2 = docs/gnuplot.doc
  299. X  DOCS3 = docs/latextut/Makefile docs/latextut/eg1.plt \
  300. X      docs/latextut/eg2.plt docs/latextut/eg3.dat docs/latextut/eg3.plt \
  301. X
  302. X--- 100,106 -----
  303. X  DOCS1 = docs/Makefile docs/README docs/checkdoc.c docs/doc2gih.c \
  304. X      docs/doc2hlp.c docs/doc2hlp.com docs/doc2ms.c docs/doc2tex.c \
  305. X      docs/gnuplot.1 docs/lasergnu.1 \
  306. X!     docs/titlepage.ms docs/titlepage.tex
  307. X  DOCS2 = docs/gnuplot.doc
  308. X  DOCS3 = docs/latextut/Makefile docs/latextut/eg1.plt \
  309. X      docs/latextut/eg2.plt docs/latextut/eg3.dat docs/latextut/eg3.plt \
  310. X***************
  311. X*** 108,114
  312. X      (cd translate; make)
  313. X  
  314. X  gnuplot_x11: gnuplot_x11.c
  315. X!     $(CC) $(CFLAGS) $(X11INCLUDES) -o gnuplot_x11 gnuplot_x11.c $(X11LIBS)
  316. X  
  317. X  install: gnuplot gnuplot_x11 doc man_install
  318. X      cp gnuplot gnuplot_x11 lasergnu $(DEST)
  319. X
  320. X--- 126,132 -----
  321. X      (cd translate; make)
  322. X  
  323. X  gnuplot_x11: gnuplot_x11.c
  324. X!     $(CC) $(CFLAGS) $(X11FLAGS) $(X11INCLUDES) -o gnuplot_x11 gnuplot_x11.c $(X11LIBS)
  325. X  
  326. X  install: gnuplot gnuplot_x11 doc man_install
  327. X      cp gnuplot gnuplot_x11 lasergnu $(DEST)
  328. X***************
  329. X*** 116,124
  330. X      strip $(DEST)/gnuplot_x11
  331. X      (cd docs; make install-unix HELPDEST=$(HELPDEST))
  332. X  
  333. X! man_install: docs/gnuplot.1.x11 docs/lasergnu.1
  334. X!     cp docs/lasergnu.1 $(MANDEST)
  335. X!     cp docs/gnuplot.1.x11 $(MANDEST)/gnuplot.1
  336. X  
  337. X  plot.o: plot.c
  338. X      $(CC) $(CFLAGS) -DX11 -c plot.c
  339. X
  340. X--- 134,141 -----
  341. X      strip $(DEST)/gnuplot_x11
  342. X      (cd docs; make install-unix HELPDEST=$(HELPDEST))
  343. X  
  344. X! man_install: docs/gnuplot.1 docs/lasergnu.1
  345. X!     cp docs/gnuplot.1 docs/lasergnu.1 $(MANDEST)
  346. X  
  347. X  plot.o: plot.c
  348. X      $(CC) $(CFLAGS) -DX11 -c plot.c
  349. X***************
  350. X*** 123,129
  351. X  plot.o: plot.c
  352. X      $(CC) $(CFLAGS) -DX11 -c plot.c
  353. X  
  354. X! term.o: term.h $(CSOURCE4) $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  355. X      $(CC) $(CFLAGS) $(TERMFLAGS) -c term.c
  356. X  
  357. X  version.o:
  358. X
  359. X--- 140,146 -----
  360. X  plot.o: plot.c
  361. X      $(CC) $(CFLAGS) -DX11 -c plot.c
  362. X  
  363. X! term.o: term.h term.c $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  364. X      $(CC) $(CFLAGS) $(TERMFLAGS) -c term.c
  365. X  
  366. X  version.o:
  367. X***************
  368. X*** 136,142
  369. X  
  370. X  command.o help.o misc.o: help.h
  371. X  
  372. X! command.o graphics.o misc.o plot.o setshow.o: setshow.h
  373. X  
  374. X  SOURCES=plot.h help.h setshow.h $(CSOURCE1) $(CSOURCE2) $(CSOURCE3) \
  375. X      $(CSOURCE4) $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  376. X
  377. X--- 153,159 -----
  378. X  
  379. X  command.o help.o misc.o: help.h
  380. X  
  381. X! command.o graphics.o misc.o plot.o setshow.o term.o: setshow.h
  382. X  
  383. X  bitmap.o term.o: bitmap.h
  384. X  
  385. X***************
  386. X*** 138,145
  387. X  
  388. X  command.o graphics.o misc.o plot.o setshow.o: setshow.h
  389. X  
  390. X! SOURCES=plot.h help.h setshow.h $(CSOURCE1) $(CSOURCE2) $(CSOURCE3) \
  391. X!     $(CSOURCE4) $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  392. X  
  393. X  lint:
  394. X      lint -hx $(CSOURCE1) $(CSOURCE2) $(CSOURCE3) $(CSOURCE4)
  395. X
  396. X--- 155,161 -----
  397. X  
  398. X  command.o graphics.o misc.o plot.o setshow.o term.o: setshow.h
  399. X  
  400. X! bitmap.o term.o: bitmap.h
  401. X  
  402. X  SOURCES=plot.h help.h setshow.h bitmap.h term.h $(CSOURCE1) $(CSOURCE2) \
  403. X      $(CSOURCE3) $(CSOURCE4) $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  404. X***************
  405. X*** 141,146
  406. X  SOURCES=plot.h help.h setshow.h $(CSOURCE1) $(CSOURCE2) $(CSOURCE3) \
  407. X      $(CSOURCE4) $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  408. X  
  409. X  lint:
  410. X      lint -hx $(CSOURCE1) $(CSOURCE2) $(CSOURCE3) $(CSOURCE4)
  411. X  
  412. X
  413. X--- 157,165 -----
  414. X  
  415. X  bitmap.o term.o: bitmap.h
  416. X  
  417. X+ SOURCES=plot.h help.h setshow.h bitmap.h term.h $(CSOURCE1) $(CSOURCE2) \
  418. X+     $(CSOURCE3) $(CSOURCE4) $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  419. X+ 
  420. X  lint:
  421. X      lint -hx $(SOURCES)
  422. X  
  423. X***************
  424. X*** 142,148
  425. X      $(CSOURCE4) $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  426. X  
  427. X  lint:
  428. X!     lint -hx $(CSOURCE1) $(CSOURCE2) $(CSOURCE3) $(CSOURCE4)
  429. X  
  430. X  clean:
  431. X      rm -f *.o *~ term/*~
  432. X
  433. X--- 161,167 -----
  434. X      $(CSOURCE3) $(CSOURCE4) $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  435. X  
  436. X  lint:
  437. X!     lint -hx $(SOURCES)
  438. X  
  439. X  clean:
  440. X      rm -f *.o *~ term/*~
  441. Xdiff -cr ./misc.c ../gnuplot2.02/misc.c
  442. X*** ./misc.c    Tue Sep 18 14:56:57 1990
  443. X--- ../gnuplot2.02/misc.c    Tue Dec  4 09:23:40 1990
  444. X***************
  445. X*** 36,41
  446. X  #include <graphics.h>
  447. X  #endif
  448. X  
  449. X  extern char *malloc();
  450. X  
  451. X  extern int c_token;
  452. X
  453. X--- 36,42 -----
  454. X  #include <graphics.h>
  455. X  #endif
  456. X  
  457. X+ #ifndef _IBMR2
  458. X  extern char *malloc();
  459. X  #endif
  460. X  
  461. X***************
  462. X*** 37,42
  463. X  #endif
  464. X  
  465. X  extern char *malloc();
  466. X  
  467. X  extern int c_token;
  468. X  extern char replot_line[];
  469. X
  470. X--- 38,44 -----
  471. X  
  472. X  #ifndef _IBMR2
  473. X  extern char *malloc();
  474. X+ #endif
  475. X  
  476. X  extern int c_token;
  477. X  extern char replot_line[];
  478. X***************
  479. X*** 224,229
  480. X              log_x ? 'x' : ' ', log_y ? 'y' : ' ');
  481. X      fprintf(fp,"set offsets %g, %g, %g, %g\n",loff,roff,toff,boff);
  482. X      fprintf(fp,"set %spolar\n", (polar)? "" : "no");
  483. X      fprintf(fp,"set samples %d\n",samples);
  484. X      fprintf(fp,"set size %g,%g\n",xsize,ysize);
  485. X      fprintf(fp,"set data style ");
  486. X
  487. X--- 226,232 -----
  488. X              log_x ? 'x' : ' ', log_y ? 'y' : ' ');
  489. X      fprintf(fp,"set offsets %g, %g, %g, %g\n",loff,roff,toff,boff);
  490. X      fprintf(fp,"set %spolar\n", (polar)? "" : "no");
  491. X+     fprintf(fp,"set %sparametric\n", (parametric)? "" : "no");
  492. X      fprintf(fp,"set samples %d\n",samples);
  493. X      fprintf(fp,"set size %g,%g\n",xsize,ysize);
  494. X      fprintf(fp,"set data style ");
  495. X***************
  496. X*** 246,251
  497. X       save_tics(fp, xtics, 'x', &xticdef);
  498. X       save_tics(fp, ytics, 'y', &yticdef);
  499. X      fprintf(fp,"set title \"%s\"\n",title);
  500. X      fprintf(fp,"set xlabel \"%s\"\n",xlabel);
  501. X      fprintf(fp,"set xrange [%g : %g]\n",xmin,xmax);
  502. X      fprintf(fp,"set ylabel \"%s\"\n",ylabel);
  503. X
  504. X--- 249,255 -----
  505. X       save_tics(fp, xtics, 'x', &xticdef);
  506. X       save_tics(fp, ytics, 'y', &yticdef);
  507. X      fprintf(fp,"set title \"%s\"\n",title);
  508. X+     fprintf(fp,"set trange [%g : %g]\n",tmin,tmax);
  509. X      fprintf(fp,"set xlabel \"%s\"\n",xlabel);
  510. X      fprintf(fp,"set xrange [%g : %g]\n",xmin,xmax);
  511. X      fprintf(fp,"set ylabel \"%s\"\n",ylabel);
  512. X***************
  513. X*** 250,255
  514. X      fprintf(fp,"set xrange [%g : %g]\n",xmin,xmax);
  515. X      fprintf(fp,"set ylabel \"%s\"\n",ylabel);
  516. X      fprintf(fp,"set yrange [%g : %g]\n",ymin,ymax);
  517. X      fprintf(fp,"set %s %c%c\n", 
  518. X          (autoscale_y||autoscale_x) ? "autoscale" : "noautoscale", 
  519. X          autoscale_x ? 'x' : ' ', autoscale_y ? 'y' : ' ');
  520. X
  521. X--- 254,261 -----
  522. X      fprintf(fp,"set xrange [%g : %g]\n",xmin,xmax);
  523. X      fprintf(fp,"set ylabel \"%s\"\n",ylabel);
  524. X      fprintf(fp,"set yrange [%g : %g]\n",ymin,ymax);
  525. X+     fprintf(fp,"set %s %c\n", 
  526. X+         autoscale_t ? "autoscale" : "noautoscale", 't');
  527. X      fprintf(fp,"set %s %c%c\n", 
  528. X          (autoscale_y||autoscale_x) ? "autoscale" : "noautoscale", 
  529. X          autoscale_x ? 'x' : ' ', autoscale_y ? 'y' : ' ');
  530. X***************
  531. X*** 341,347
  532. X                   
  533. X                  if (input_line[len] == '\\') { /* line continuation */
  534. X                      start = len;
  535. X!                     left -= len;
  536. X                  } else
  537. X                    more = FALSE;
  538. X               }
  539. X
  540. X--- 347,353 -----
  541. X                   
  542. X                  if (input_line[len] == '\\') { /* line continuation */
  543. X                      start = len;
  544. X!                     left  = MAX_LINE_LEN - start; /* left -=len;*/
  545. X                  } else
  546. X                    more = FALSE;
  547. X               }
  548. Xdiff -cr ./plot.c ../gnuplot2.02/plot.c
  549. X*** ./plot.c    Tue Sep 18 14:57:01 1990
  550. X--- ../gnuplot2.02/plot.c    Mon Nov 26 09:17:19 1990
  551. X***************
  552. X*** 167,176
  553. X  /* Register the Borland Graphics Interface drivers. If they have been */
  554. X  /* included by the linker.                                            */
  555. X  #ifdef __TURBOC__
  556. X! registerbgidriver(CGA_driver);
  557. X! registerbgidriver(EGAVGA_driver);
  558. X! registerbgidriver(Herc_driver);
  559. X! registerbgidriver(ATT_driver);
  560. X  #endif
  561. X  #ifdef X11
  562. X       { int n = X11_args(argc, argv); argv += n; argc -= n; }
  563. X
  564. X--- 167,176 -----
  565. X  /* Register the Borland Graphics Interface drivers. If they have been */
  566. X  /* included by the linker.                                            */
  567. X  #ifdef __TURBOC__
  568. X! registerfarbgidriver(CGA_driver_far);
  569. X! registerfarbgidriver(EGAVGA_driver_far);
  570. X! registerfarbgidriver(Herc_driver_far);
  571. X! registerfarbgidriver(ATT_driver_far);
  572. X  #endif
  573. X  #ifdef X11
  574. X       { int n = X11_args(argc, argv); argv += n; argc -= n; }
  575. X***************
  576. X*** 209,215
  577. X          /* after catching interrupt */
  578. X          /* VAX stuffs up stdout on SIGINT while writing to stdout,
  579. X            so reopen stdout. */
  580. X!         if (outfile = stdout) {
  581. X             if ( (stdout = freopen("SYS$OUTPUT","w",stdout))  == NULL) {
  582. X                /* couldn't reopen it so try opening it instead */
  583. X                if ( (stdout = fopen("SYS$OUTPUT","w"))  == NULL) {
  584. X
  585. X--- 209,215 -----
  586. X          /* after catching interrupt */
  587. X          /* VAX stuffs up stdout on SIGINT while writing to stdout,
  588. X            so reopen stdout. */
  589. X!         if (outfile == stdout) {
  590. X             if ( (stdout = freopen("SYS$OUTPUT","w",stdout))  == NULL) {
  591. X                /* couldn't reopen it so try opening it instead */
  592. X                if ( (stdout = fopen("SYS$OUTPUT","w"))  == NULL) {
  593. X***************
  594. X*** 270,275
  595. X  #else
  596. X      (void) strcat(strcpy(home,getenv(HOME)),"/");
  597. X  #endif                    /* vms */
  598. X      (void) strcpy(rcfile, PLOTRC);
  599. X      plotrc = fopen(rcfile,"r");
  600. X      if (plotrc == (FILE *)NULL) {
  601. X
  602. X--- 270,279 -----
  603. X  #else
  604. X      (void) strcat(strcpy(home,getenv(HOME)),"/");
  605. X  #endif                    /* vms */
  606. X+ #ifdef NOCWDRC
  607. X+     /* inhibit check of init file in current directory for security reasons */
  608. X+     {
  609. X+ #else
  610. X      (void) strcpy(rcfile, PLOTRC);
  611. X      plotrc = fopen(rcfile,"r");
  612. X      if (plotrc == (FILE *)NULL) {
  613. X***************
  614. X*** 273,278
  615. X      (void) strcpy(rcfile, PLOTRC);
  616. X      plotrc = fopen(rcfile,"r");
  617. X      if (plotrc == (FILE *)NULL) {
  618. X         (void) sprintf(rcfile, "%s%s", home, PLOTRC);
  619. X         plotrc = fopen(rcfile,"r");
  620. X      }
  621. X
  622. X--- 277,283 -----
  623. X      (void) strcpy(rcfile, PLOTRC);
  624. X      plotrc = fopen(rcfile,"r");
  625. X      if (plotrc == (FILE *)NULL) {
  626. X+ #endif
  627. X         (void) sprintf(rcfile, "%s%s", home, PLOTRC);
  628. X         plotrc = fopen(rcfile,"r");
  629. X      }
  630. Xdiff -cr ./setshow.c ../gnuplot2.02/setshow.c
  631. X*** ./setshow.c    Thu Aug 30 16:16:47 1990
  632. X--- ../gnuplot2.02/setshow.c    Tue Dec  4 12:09:45 1990
  633. X***************
  634. X*** 39,44
  635. X   * global variables to hold status of 'set' options
  636. X   *
  637. X   */
  638. X  BOOLEAN            autoscale_x    = TRUE;
  639. X  BOOLEAN            autoscale_y    = TRUE;
  640. X  BOOLEAN            autoscale_lx    = TRUE;
  641. X
  642. X--- 39,45 -----
  643. X   * global variables to hold status of 'set' options
  644. X   *
  645. X   */
  646. X+ BOOLEAN            autoscale_t    = TRUE;
  647. X  BOOLEAN            autoscale_x    = TRUE;
  648. X  BOOLEAN            autoscale_y    = TRUE;
  649. X  BOOLEAN            autoscale_lt    = TRUE;
  650. X***************
  651. X*** 41,46
  652. X   */
  653. X  BOOLEAN            autoscale_x    = TRUE;
  654. X  BOOLEAN            autoscale_y    = TRUE;
  655. X  BOOLEAN            autoscale_lx    = TRUE;
  656. X  BOOLEAN            autoscale_ly    = TRUE;
  657. X  BOOLEAN                clip_points    = FALSE;
  658. X
  659. X--- 42,48 -----
  660. X  BOOLEAN            autoscale_t    = TRUE;
  661. X  BOOLEAN            autoscale_x    = TRUE;
  662. X  BOOLEAN            autoscale_y    = TRUE;
  663. X+ BOOLEAN            autoscale_lt    = TRUE;
  664. X  BOOLEAN            autoscale_lx    = TRUE;
  665. X  BOOLEAN            autoscale_ly    = TRUE;
  666. X  BOOLEAN                clip_points    = FALSE;
  667. X***************
  668. X*** 59,64
  669. X  FILE*            outfile;
  670. X  char            outstr[MAX_ID_LEN+1] = "STDOUT";
  671. X  BOOLEAN            polar        = FALSE;
  672. X  int                samples        = SAMPLES;
  673. X  float            xsize        = 1.0;  /* scale factor for size */
  674. X  float            ysize        = 1.0;  /* scale factor for size */
  675. X
  676. X--- 61,67 -----
  677. X  FILE*            outfile;
  678. X  char            outstr[MAX_ID_LEN+1] = "STDOUT";
  679. X  BOOLEAN            polar        = FALSE;
  680. X+ BOOLEAN            parametric    = FALSE;
  681. X  int                samples        = SAMPLES;
  682. X  float            xsize        = 1.0;  /* scale factor for size */
  683. X  float            ysize        = 1.0;  /* scale factor for size */
  684. X***************
  685. X*** 66,72
  686. X  char            title[MAX_LINE_LEN+1] = "";
  687. X  char            xlabel[MAX_LINE_LEN+1] = "";
  688. X  char            ylabel[MAX_LINE_LEN+1] = "";
  689. X! double            xmin        = -10.0,
  690. X                  xmax        = 10.0,
  691. X                  ymin        = -10.0,
  692. X                  ymax        = 10.0;
  693. X
  694. X--- 69,77 -----
  695. X  char            title[MAX_LINE_LEN+1] = "";
  696. X  char            xlabel[MAX_LINE_LEN+1] = "";
  697. X  char            ylabel[MAX_LINE_LEN+1] = "";
  698. X! double            tmin        = -5.0,
  699. X!                 tmax        =  5.0,
  700. X!                 xmin        = -10.0,
  701. X                  xmax        = 10.0,
  702. X                  ymin        = -10.0,
  703. X                  ymax        = 10.0;
  704. X***************
  705. X*** 76,81
  706. X                  boff        = 0.0;
  707. X  double            zero = ZERO;            /* zero threshold, not 0! */
  708. X  
  709. X  BOOLEAN xtics = TRUE;
  710. X  BOOLEAN ytics = TRUE;
  711. X  
  712. X
  713. X--- 81,89 -----
  714. X                  boff        = 0.0;
  715. X  double            zero = ZERO;            /* zero threshold, not 0! */
  716. X  
  717. X+ BOOLEAN xzeroaxis = TRUE;
  718. X+ BOOLEAN yzeroaxis = TRUE;
  719. X+ 
  720. X  BOOLEAN xtics = TRUE;
  721. X  BOOLEAN ytics = TRUE;
  722. X  
  723. X***************
  724. X*** 90,95
  725. X  /*** other things we need *****/
  726. X  extern char *strcpy(),*strcat();
  727. X  extern int strlen();
  728. X  
  729. X  /* input data, parsing variables */
  730. X  extern struct lexical_unit token[];
  731. X
  732. X--- 98,104 -----
  733. X  /*** other things we need *****/
  734. X  extern char *strcpy(),*strcat();
  735. X  extern int strlen();
  736. X+ extern FILE *popen();
  737. X  
  738. X  /* input data, parsing variables */
  739. X  extern struct lexical_unit token[];
  740. X***************
  741. X*** 116,121
  742. X  static void show_style(), show_range(), show_zero();
  743. X  static void show_offsets(), show_output(), show_samples(), show_size();
  744. X  static void show_title(), show_xlabel(), show_ylabel();
  745. X  static void show_label(), show_arrow(), show_grid(), show_key();
  746. X  static void show_polar(), show_tics(), show_ticdef();
  747. X  static void show_term(), show_plot(), show_autoscale(), show_clip();
  748. X
  749. X--- 125,131 -----
  750. X  static void show_style(), show_range(), show_zero();
  751. X  static void show_offsets(), show_output(), show_samples(), show_size();
  752. X  static void show_title(), show_xlabel(), show_ylabel();
  753. X+ static void show_xzeroaxis(), show_yzeroaxis();
  754. X  static void show_label(), show_arrow(), show_grid(), show_key();
  755. X  static void show_polar(), show_parametric(), show_tics(), show_ticdef();
  756. X  static void show_term(), show_plot(), show_autoscale(), show_clip();
  757. X***************
  758. X*** 117,123
  759. X  static void show_offsets(), show_output(), show_samples(), show_size();
  760. X  static void show_title(), show_xlabel(), show_ylabel();
  761. X  static void show_label(), show_arrow(), show_grid(), show_key();
  762. X! static void show_polar(), show_tics(), show_ticdef();
  763. X  static void show_term(), show_plot(), show_autoscale(), show_clip();
  764. X  static void show_format(), show_logscale(), show_variables();
  765. X  
  766. X
  767. X--- 127,133 -----
  768. X  static void show_title(), show_xlabel(), show_ylabel();
  769. X  static void show_xzeroaxis(), show_yzeroaxis();
  770. X  static void show_label(), show_arrow(), show_grid(), show_key();
  771. X! static void show_polar(), show_parametric(), show_tics(), show_ticdef();
  772. X  static void show_term(), show_plot(), show_autoscale(), show_clip();
  773. X  static void show_format(), show_logscale(), show_variables();
  774. X  
  775. X***************
  776. X*** 131,136
  777. X  set_command()
  778. X  {
  779. X       static char testfile[MAX_LINE_LEN+1];
  780. X  
  781. X      c_token++;
  782. X  
  783. X
  784. X--- 141,149 -----
  785. X  set_command()
  786. X  {
  787. X       static char testfile[MAX_LINE_LEN+1];
  788. X+ #ifdef unix
  789. X+      static BOOLEAN pipe_open = FALSE;
  790. X+ #endif
  791. X  
  792. X      c_token++;
  793. X  
  794. X***************
  795. X*** 145,151
  796. X       else if (almost_equals(c_token,"au$toscale")) {
  797. X          c_token++;
  798. X          if (END_OF_COMMAND) {
  799. X!            autoscale_x = autoscale_y = TRUE;
  800. X          } else if (equals(c_token, "xy") || equals(c_token, "yx")) {
  801. X             autoscale_x = autoscale_y = TRUE;
  802. X             c_token++;
  803. X
  804. X--- 158,164 -----
  805. X       else if (almost_equals(c_token,"au$toscale")) {
  806. X          c_token++;
  807. X          if (END_OF_COMMAND) {
  808. X!            autoscale_t = autoscale_x = autoscale_y = TRUE;
  809. X          } else if (equals(c_token, "xy") || equals(c_token, "yx")) {
  810. X             autoscale_x = autoscale_y = TRUE;
  811. X             c_token++;
  812. X***************
  813. X*** 149,154
  814. X          } else if (equals(c_token, "xy") || equals(c_token, "yx")) {
  815. X             autoscale_x = autoscale_y = TRUE;
  816. X             c_token++;
  817. X          } else if (equals(c_token, "x")) {
  818. X             autoscale_x = TRUE;
  819. X             c_token++;
  820. X
  821. X--- 162,170 -----
  822. X          } else if (equals(c_token, "xy") || equals(c_token, "yx")) {
  823. X             autoscale_x = autoscale_y = TRUE;
  824. X             c_token++;
  825. X+         } else if (equals(c_token, "t")) {
  826. X+            autoscale_t = TRUE;
  827. X+            c_token++;
  828. X          } else if (equals(c_token, "x")) {
  829. X             autoscale_x = TRUE;
  830. X             c_token++;
  831. X***************
  832. X*** 160,165
  833. X      else if (almost_equals(c_token,"noau$toscale")) {
  834. X          c_token++;
  835. X          if (END_OF_COMMAND) {
  836. X             autoscale_x = autoscale_y = FALSE;
  837. X          } else if (equals(c_token, "xy") || equals(c_token, "yx")) {
  838. X             autoscale_x = autoscale_y = FALSE;
  839. X
  840. X--- 176,183 -----
  841. X      else if (almost_equals(c_token,"noau$toscale")) {
  842. X          c_token++;
  843. X          if (END_OF_COMMAND) {
  844. X+            autoscale_t = autoscale_x = autoscale_y = FALSE;
  845. X+         } else if (equals(c_token, "xy") || equals(c_token, "tyx")) {
  846. X             autoscale_x = autoscale_y = FALSE;
  847. X             c_token++;
  848. X          } else if (equals(c_token, "t")) {
  849. X***************
  850. X*** 161,168
  851. X          c_token++;
  852. X          if (END_OF_COMMAND) {
  853. X             autoscale_x = autoscale_y = FALSE;
  854. X-         } else if (equals(c_token, "xy") || equals(c_token, "yx")) {
  855. X-            autoscale_x = autoscale_y = FALSE;
  856. X             c_token++;
  857. X          } else if (equals(c_token, "x")) {
  858. X             autoscale_x = FALSE;
  859. X
  860. X--- 179,184 -----
  861. X             autoscale_t = autoscale_x = autoscale_y = FALSE;
  862. X          } else if (equals(c_token, "xy") || equals(c_token, "tyx")) {
  863. X             autoscale_x = autoscale_y = FALSE;
  864. X             c_token++;
  865. X          } else if (equals(c_token, "t")) {
  866. X             autoscale_t = FALSE;
  867. X***************
  868. X*** 164,169
  869. X          } else if (equals(c_token, "xy") || equals(c_token, "yx")) {
  870. X             autoscale_x = autoscale_y = FALSE;
  871. X             c_token++;
  872. X          } else if (equals(c_token, "x")) {
  873. X             autoscale_x = FALSE;
  874. X             c_token++;
  875. X
  876. X--- 180,188 -----
  877. X          } else if (equals(c_token, "xy") || equals(c_token, "tyx")) {
  878. X             autoscale_x = autoscale_y = FALSE;
  879. X             c_token++;
  880. X+         } else if (equals(c_token, "t")) {
  881. X+            autoscale_t = FALSE;
  882. X+            c_token++;
  883. X          } else if (equals(c_token, "x")) {
  884. X             autoscale_x = FALSE;
  885. X             c_token++;
  886. X***************
  887. X*** 212,218
  888. X      }
  889. X      else if (almost_equals(c_token,"d$ummy")) {
  890. X          c_token++;
  891. X!         copy_str(dummy_var,c_token++);
  892. X      }
  893. X      else if (almost_equals(c_token,"fo$rmat")) {
  894. X          BOOLEAN setx, sety;
  895. X
  896. X--- 231,240 -----
  897. X      }
  898. X      else if (almost_equals(c_token,"d$ummy")) {
  899. X          c_token++;
  900. X!         if (END_OF_COMMAND)
  901. X!             int_error("expecting dummy variable name", c_token);
  902. X!         else
  903. X!             copy_str(dummy_var,c_token++);
  904. X      }
  905. X      else if (almost_equals(c_token,"fo$rmat")) {
  906. X          BOOLEAN setx, sety;
  907. X***************
  908. X*** 312,319
  909. X              (*term_tbl[term].reset)();
  910. X          if (END_OF_COMMAND) {    /* no file specified */
  911. X               UP_redirect (4);
  912. X!             if (outfile != stdout) /* Never close stdout */
  913. X!                 (void) fclose(outfile);
  914. X              outfile = stdout; /* Don't dup... */
  915. X              term_init = FALSE;
  916. X              (void) strcpy(outstr,"STDOUT");
  917. X
  918. X--- 334,348 -----
  919. X              (*term_tbl[term].reset)();
  920. X          if (END_OF_COMMAND) {    /* no file specified */
  921. X               UP_redirect (4);
  922. X!             if (outfile != stdout) { /* Never close stdout */
  923. X! #ifdef unix
  924. X!                 if ( pipe_open ) {
  925. X!                     (void) pclose(outfile);
  926. X!                     pipe_open = FALSE;
  927. X!                 } else
  928. X! #endif
  929. X!                     (void) fclose(outfile);
  930. X!             }
  931. X              outfile = stdout; /* Don't dup... */
  932. X              term_init = FALSE;
  933. X              (void) strcpy(outstr,"STDOUT");
  934. X***************
  935. X*** 321,329
  936. X              int_error("expecting filename",c_token);
  937. X          else {
  938. X              quote_str(testfile,c_token);
  939. X!             if ((f = fopen(testfile,"w")) == (FILE *)NULL) {
  940. X!               os_error("cannot open file; output not changed",c_token);
  941. X!             }
  942. X              if (outfile != stdout) /* Never close stdout */
  943. X                  (void) fclose(outfile);
  944. X              outfile = f;
  945. X
  946. X--- 350,365 -----
  947. X              int_error("expecting filename",c_token);
  948. X          else {
  949. X              quote_str(testfile,c_token);
  950. X! #ifdef unix
  951. X!             if ( *testfile == '|' ) {
  952. X!               if ((f = popen(testfile+1,"w")) == (FILE *)NULL)
  953. X!                 os_error("cannot create pipe; output not changed",c_token);
  954. X!               else
  955. X!                 pipe_open = TRUE;
  956. X!             } else
  957. X! #endif
  958. X!               if ((f = fopen(testfile,"w")) == (FILE *)NULL)
  959. X!                 os_error("cannot open file; output not changed",c_token);
  960. X              if (outfile != stdout) /* Never close stdout */
  961. X                  (void) fclose(outfile);
  962. X              outfile = f;
  963. X***************
  964. X*** 361,366
  965. X          c_token++;
  966. X          }
  967. X      } 
  968. X      else if (almost_equals(c_token,"pol$ar")) {
  969. X          if (!polar) {
  970. X             polar = TRUE;
  971. X
  972. X--- 397,444 -----
  973. X          c_token++;
  974. X          }
  975. X      } 
  976. X+     else if (almost_equals(c_token,"xzero$axis")) {
  977. X+         c_token++;
  978. X+         xzeroaxis = TRUE;
  979. X+     } 
  980. X+     else if (almost_equals(c_token,"yzero$axis")) {
  981. X+         c_token++;
  982. X+         yzeroaxis = TRUE;
  983. X+     } 
  984. X+     else if (almost_equals(c_token,"zeroa$xis")) {
  985. X+         c_token++;
  986. X+         yzeroaxis = TRUE;
  987. X+         xzeroaxis = TRUE;
  988. X+     } 
  989. X+     else if (almost_equals(c_token,"noxzero$axis")) {
  990. X+         c_token++;
  991. X+         xzeroaxis = FALSE;
  992. X+     } 
  993. X+     else if (almost_equals(c_token,"noyzero$axis")) {
  994. X+         c_token++;
  995. X+         yzeroaxis = FALSE;
  996. X+     } 
  997. X+     else if (almost_equals(c_token,"nozero$axis")) {
  998. X+         c_token++;
  999. X+         xzeroaxis = FALSE;
  1000. X+         yzeroaxis = FALSE;
  1001. X+     } 
  1002. X+     else if (almost_equals(c_token,"par$ametric")) {
  1003. X+         if (!parametric) {
  1004. X+            parametric = TRUE;
  1005. X+            strcpy (dummy_var, "t");
  1006. X+              (void) fprintf(stderr,"\n\tdummy variable is %s\n",dummy_var);
  1007. X+         }
  1008. X+         c_token++;
  1009. X+     }
  1010. X+     else if (almost_equals(c_token,"nopar$ametric")) {
  1011. X+         if (parametric) {
  1012. X+            parametric = FALSE;
  1013. X+            strcpy (dummy_var, "x");
  1014. X+              (void) fprintf(stderr,"\n\tdummy variable is %s\n",dummy_var);
  1015. X+         }
  1016. X+         c_token++;
  1017. X+     }
  1018. X      else if (almost_equals(c_token,"pol$ar")) {
  1019. X          if (!polar) {
  1020. X              polar = TRUE;
  1021. X***************
  1022. X*** 363,371
  1023. X      } 
  1024. X      else if (almost_equals(c_token,"pol$ar")) {
  1025. X          if (!polar) {
  1026. X!            polar = TRUE;
  1027. X!            xmin = 0.0;
  1028. X!            xmax = 2*Pi;
  1029. X          }
  1030. X          c_token++;
  1031. X      }
  1032. X
  1033. X--- 441,454 -----
  1034. X      }
  1035. X      else if (almost_equals(c_token,"pol$ar")) {
  1036. X          if (!polar) {
  1037. X!             polar = TRUE;
  1038. X!             if (parametric) {
  1039. X!                 tmin = 0.0;
  1040. X!                 tmax = 2*Pi;
  1041. X!             } else {
  1042. X!                 xmin = 0.0;
  1043. X!                 xmax = 2*Pi;
  1044. X!             }
  1045. X          }
  1046. X          c_token++;
  1047. X      }
  1048. X***************
  1049. X*** 371,379
  1050. X      }
  1051. X      else if (almost_equals(c_token,"nopo$lar")) {
  1052. X          if (polar) {
  1053. X!            polar = FALSE;
  1054. X!            xmin = -10.0;
  1055. X!            xmax = 10.0;
  1056. X          }
  1057. X          c_token++;
  1058. X      }
  1059. X
  1060. X--- 454,467 -----
  1061. X      }
  1062. X      else if (almost_equals(c_token,"nopo$lar")) {
  1063. X          if (polar) {
  1064. X!             polar = FALSE;
  1065. X!             if (parametric) {
  1066. X!                 tmin = -5.0;
  1067. X!                 tmax = 5.0;
  1068. X!             } else {
  1069. X!                 xmin = -10.0;
  1070. X!                 xmax = 10.0;
  1071. X!             }
  1072. X          }
  1073. X          c_token++;
  1074. X      }
  1075. X***************
  1076. X*** 498,503
  1077. X              c_token++;
  1078. X          }
  1079. X      }
  1080. X      else if (almost_equals(c_token,"xr$ange")) {
  1081. X           BOOLEAN changed;
  1082. X          c_token++;
  1083. X
  1084. X--- 586,604 -----
  1085. X              c_token++;
  1086. X          }
  1087. X      }
  1088. X+     else if (almost_equals(c_token,"tr$ange")) {
  1089. X+          BOOLEAN changed;
  1090. X+         c_token++;
  1091. X+         if (!equals(c_token,"["))
  1092. X+             int_error("expecting '['",c_token);
  1093. X+         c_token++;
  1094. X+         changed = load_range(&tmin,&tmax);
  1095. X+         if (!equals(c_token,"]"))
  1096. X+           int_error("expecting ']'",c_token);
  1097. X+         c_token++;
  1098. X+         if (changed)
  1099. X+           autoscale_t = FALSE;
  1100. X+     }
  1101. X      else if (almost_equals(c_token,"xr$ange")) {
  1102. X           BOOLEAN changed;
  1103. X          c_token++;
  1104. X***************
  1105. X*** 533,542
  1106. X          int_error(
  1107. X      "valid set options:  '{no}arrow', {no}autoscale', '{no}clip', data', \n\
  1108. X      'dummy', 'format', 'function', '{no}grid', '{no}key', '{no}label', \n\
  1109. X!     '{no}logscale','offsets', 'output', '{no}polar', 'samples', \n\
  1110. X!     'size', 'terminal', 'tics', 'title', 'xlabel', 'xrange', 'xtics', \n\
  1111. X!     'ylabel', 'yrange', 'ytics', 'zero',\n",
  1112. X!     c_token);
  1113. X  }
  1114. X  
  1115. X  /*********** Support functions for set_command ***********/
  1116. X
  1117. X--- 634,643 -----
  1118. X          int_error(
  1119. X      "valid set options:  '{no}arrow', {no}autoscale', '{no}clip', data', \n\
  1120. X      'dummy', 'format', 'function', '{no}grid', '{no}key', '{no}label', \n\
  1121. X!     '{no}logscale','offsets', 'output', '{no}parametric', '{no}polar', \n\
  1122. X!         'samples', 'size', 'terminal', 'tics', 'title', 'xlabel', 'xrange', \n\
  1123. X!         'xtics', '{no}xzeroaxis', 'ylabel', 'yrange', 'ytics', \n\
  1124. X!     '{no}yzeroaxis','zero','zeroaxis'", c_token);
  1125. X  }
  1126. X  
  1127. X  /*********** Support functions for set_command ***********/
  1128. X***************
  1129. X*** 1262,1267
  1130. X          show_ylabel();
  1131. X          c_token++;
  1132. X      }
  1133. X      else if (almost_equals(c_token,"la$bel")) {
  1134. X          struct value a;
  1135. X          int tag = 0;
  1136. X
  1137. X--- 1363,1384 -----
  1138. X          show_ylabel();
  1139. X          c_token++;
  1140. X      }
  1141. X+     else if (almost_equals(c_token,"xzero$axis")) {
  1142. X+         (void) putc('\n',stderr);
  1143. X+         show_xzeroaxis();
  1144. X+         c_token++;
  1145. X+     }
  1146. X+     else if (almost_equals(c_token,"yzero$axis")) {
  1147. X+         (void) putc('\n',stderr);
  1148. X+         show_yzeroaxis();
  1149. X+         c_token++;
  1150. X+     }
  1151. X+     else if (almost_equals(c_token,"zeroa$xis")) {
  1152. X+         (void) putc('\n',stderr);
  1153. X+         show_xzeroaxis();
  1154. X+         show_yzeroaxis();
  1155. X+         c_token++;
  1156. X+     }
  1157. X      else if (almost_equals(c_token,"la$bel")) {
  1158. X          struct value a;
  1159. X          int tag = 0;
  1160. X***************
  1161. X*** 1291,1296
  1162. X          show_plot();
  1163. X          c_token++;
  1164. X      }
  1165. X      else if (almost_equals(c_token,"pol$ar")) {
  1166. X          (void) putc('\n',stderr);
  1167. X          show_polar();
  1168. X
  1169. X--- 1408,1418 -----
  1170. X          show_plot();
  1171. X          c_token++;
  1172. X      }
  1173. X+     else if (almost_equals(c_token,"par$ametric")) {
  1174. X+         (void) putc('\n',stderr);
  1175. X+         show_parametric();
  1176. X+         c_token++;
  1177. X+     }
  1178. X      else if (almost_equals(c_token,"pol$ar")) {
  1179. X          (void) putc('\n',stderr);
  1180. X          show_polar();
  1181. X***************
  1182. X*** 1324,1329
  1183. X          show_term();
  1184. X          c_token++;
  1185. X      }
  1186. X      else if (almost_equals(c_token,"v$ariables")) {
  1187. X          show_variables();
  1188. X          c_token++;
  1189. X
  1190. X--- 1446,1456 -----
  1191. X          show_term();
  1192. X          c_token++;
  1193. X      }
  1194. X+     else if (almost_equals(c_token,"tr$ange")) {
  1195. X+         (void) putc('\n',stderr);
  1196. X+         show_range('t',tmin,tmax);
  1197. X+         c_token++;
  1198. X+     }
  1199. X      else if (almost_equals(c_token,"v$ariables")) {
  1200. X          show_variables();
  1201. X          c_token++;
  1202. X***************
  1203. X*** 1363,1368
  1204. X          show_logscale();
  1205. X          show_offsets();
  1206. X          show_output();
  1207. X          show_polar();
  1208. X          show_samples();
  1209. X          show_size();
  1210. X
  1211. X--- 1490,1496 -----
  1212. X          show_logscale();
  1213. X          show_offsets();
  1214. X          show_output();
  1215. X+         show_parametric();
  1216. X          show_polar();
  1217. X          show_samples();
  1218. X          show_size();
  1219. X***************
  1220. X*** 1368,1373
  1221. X          show_size();
  1222. X          show_term();
  1223. X          show_tics(TRUE,TRUE);
  1224. X          show_range('x',xmin,xmax);
  1225. X          show_range('y',ymin,ymax);
  1226. X          show_title();
  1227. X
  1228. X--- 1496,1503 -----
  1229. X          show_size();
  1230. X          show_term();
  1231. X          show_tics(TRUE,TRUE);
  1232. X+         if (parametric)
  1233. X+             show_range('t',tmin,tmax);
  1234. X          show_range('x',xmin,xmax);
  1235. X          show_range('y',ymin,ymax);
  1236. X          show_title();
  1237. X***************
  1238. X*** 1383,1391
  1239. X          int_error(
  1240. X      "valid show options:  'action_table', 'all', 'arrow', 'autoscale',  \n\
  1241. X      'clip', 'data', 'dummy', 'format', 'function', 'grid', 'key', 'label', \n\
  1242. X!     'logscale', 'offsets', 'output', 'plot', 'polar', 'samples', \n\
  1243. X!     'size', 'terminal', 'tics', 'title', 'variables', 'version', \n\
  1244. X!     'xlabel', 'xrange', 'xtics', 'ylabel', 'yrange', 'ytics', 'zero'", c_token);
  1245. X      screen_ok = FALSE;
  1246. X      (void) putc('\n',stderr);
  1247. X  }
  1248. X
  1249. X--- 1513,1522 -----
  1250. X          int_error(
  1251. X      "valid show options:  'action_table', 'all', 'arrow', 'autoscale',  \n\
  1252. X      'clip', 'data', 'dummy', 'format', 'function', 'grid', 'key', 'label', \n\
  1253. X!     'logscale', 'offsets', 'output', 'plot', 'parametric','polar', \n\
  1254. X!     'samples', 'size', 'terminal', 'tics', 'title', 'trange', 'variables', \n\
  1255. X!     'version', 'xlabel', 'xrange', 'xtics', 'xzeroaxis', 'ylabel', \n\
  1256. X!     'yrange', 'ytics', 'yzeroaxis', 'zero','zeroaxis'", c_token);
  1257. X      screen_ok = FALSE;
  1258. X      (void) putc('\n',stderr);
  1259. X  }
  1260. X***************
  1261. X*** 1464,1469
  1262. X  }
  1263. X  
  1264. X  static void
  1265. X  show_label(tag)
  1266. X      int tag;                /* 0 means show all */
  1267. X  {
  1268. X
  1269. X--- 1595,1612 -----
  1270. X  }
  1271. X  
  1272. X  static void
  1273. X+ show_xzeroaxis()
  1274. X+ {
  1275. X+     fprintf(stderr,"\txzeroaxis is %s\n",(xzeroaxis)? "ON" : "OFF");
  1276. X+ }
  1277. X+ 
  1278. X+ static void
  1279. X+ show_yzeroaxis()
  1280. X+ {
  1281. X+     fprintf(stderr,"\tyzeroaxis is %s\n",(yzeroaxis)? "ON" : "OFF");
  1282. X+ }
  1283. X+ 
  1284. X+ static void
  1285. X  show_label(tag)
  1286. X      int tag;                /* 0 means show all */
  1287. X  {
  1288. X***************
  1289. X*** 1542,1547
  1290. X  }
  1291. X  
  1292. X  static void
  1293. X  show_polar()
  1294. X  {
  1295. X      fprintf(stderr,"\tpolar is %s\n",(polar)? "ON" : "OFF");
  1296. X
  1297. X--- 1685,1696 -----
  1298. X  }
  1299. X  
  1300. X  static void
  1301. X+ show_parametric()
  1302. X+ {
  1303. X+     fprintf(stderr,"\tparametric is %s\n",(parametric)? "ON" : "OFF");
  1304. X+ }
  1305. X+ 
  1306. X+ static void
  1307. X  show_polar()
  1308. X  {
  1309. X      fprintf(stderr,"\tpolar is %s\n",(polar)? "ON" : "OFF");
  1310. X***************
  1311. X*** 1625,1630
  1312. X  static void
  1313. X  show_autoscale()
  1314. X  {
  1315. X      fprintf(stderr,"\tx autoscaling is %s\n",(autoscale_x)? "ON" : "OFF");
  1316. X      fprintf(stderr,"\ty autoscaling is %s\n",(autoscale_y)? "ON" : "OFF");
  1317. X  }
  1318. X
  1319. X--- 1774,1781 -----
  1320. X  static void
  1321. X  show_autoscale()
  1322. X  {
  1323. X+     if (parametric)
  1324. X+         fprintf(stderr,"\tt autoscaling is %s\n",(autoscale_t)? "ON" : "OFF");
  1325. X      fprintf(stderr,"\tx autoscaling is %s\n",(autoscale_x)? "ON" : "OFF");
  1326. X      fprintf(stderr,"\ty autoscaling is %s\n",(autoscale_y)? "ON" : "OFF");
  1327. X  }
  1328. Xdiff -cr ./setshow.h ../gnuplot2.02/setshow.h
  1329. X*** ./setshow.h    Tue Mar 27 08:59:12 1990
  1330. X--- ../gnuplot2.02/setshow.h    Fri Nov 23 17:54:14 1990
  1331. X***************
  1332. X*** 31,36
  1333. X   * global variables to hold status of 'set' options
  1334. X   *
  1335. X   */
  1336. X  extern BOOLEAN            autoscale_x;
  1337. X  extern BOOLEAN            autoscale_y;
  1338. X  extern BOOLEAN            autoscale_lx;
  1339. X
  1340. X--- 31,37 -----
  1341. X   * global variables to hold status of 'set' options
  1342. X   *
  1343. X   */
  1344. X+ extern BOOLEAN            autoscale_t;
  1345. X  extern BOOLEAN            autoscale_x;
  1346. X  extern BOOLEAN            autoscale_y;
  1347. X  extern BOOLEAN            autoscale_lt;
  1348. X***************
  1349. X*** 33,38
  1350. X   */
  1351. X  extern BOOLEAN            autoscale_x;
  1352. X  extern BOOLEAN            autoscale_y;
  1353. X  extern BOOLEAN            autoscale_lx;
  1354. X  extern BOOLEAN            autoscale_ly;
  1355. X  extern BOOLEAN            clip_points;
  1356. X
  1357. X--- 34,40 -----
  1358. X  extern BOOLEAN            autoscale_t;
  1359. X  extern BOOLEAN            autoscale_x;
  1360. X  extern BOOLEAN            autoscale_y;
  1361. X+ extern BOOLEAN            autoscale_lt;
  1362. X  extern BOOLEAN            autoscale_lx;
  1363. X  extern BOOLEAN            autoscale_ly;
  1364. X  extern BOOLEAN            clip_points;
  1365. X***************
  1366. X*** 49,54
  1367. X  extern FILE*            outfile;
  1368. X  extern char            outstr[];
  1369. X  extern BOOLEAN            polar;
  1370. X  extern int            samples;
  1371. X  extern float            xsize; /* scale factor for size */
  1372. X  extern float            ysize; /* scale factor for size */
  1373. X
  1374. X--- 51,57 -----
  1375. X  extern FILE*            outfile;
  1376. X  extern char            outstr[];
  1377. X  extern BOOLEAN            polar;
  1378. X+ extern BOOLEAN            parametric;
  1379. X  extern int            samples;
  1380. X  extern float            xsize; /* scale factor for size */
  1381. X  extern float            ysize; /* scale factor for size */
  1382. X***************
  1383. X*** 56,62
  1384. X  extern char            title[];
  1385. X  extern char            xlabel[];
  1386. X  extern char            ylabel[];
  1387. X! extern double            xmin, xmax, ymin, ymax;
  1388. X  extern double            loff, roff, toff, boff;
  1389. X  extern double            zero; /* zero threshold, not 0! */
  1390. X  
  1391. X
  1392. X--- 59,65 -----
  1393. X  extern char            title[];
  1394. X  extern char            xlabel[];
  1395. X  extern char            ylabel[];
  1396. X! extern double            tmin, tmax, xmin, xmax, ymin, ymax;
  1397. X  extern double            loff, roff, toff, boff;
  1398. X  extern double            zero; /* zero threshold, not 0! */
  1399. X  
  1400. X***************
  1401. X*** 59,64
  1402. X  extern double            xmin, xmax, ymin, ymax;
  1403. X  extern double            loff, roff, toff, boff;
  1404. X  extern double            zero; /* zero threshold, not 0! */
  1405. X  
  1406. X  extern BOOLEAN xtics;
  1407. X  extern BOOLEAN ytics;
  1408. X
  1409. X--- 62,70 -----
  1410. X  extern double            tmin, tmax, xmin, xmax, ymin, ymax;
  1411. X  extern double            loff, roff, toff, boff;
  1412. X  extern double            zero; /* zero threshold, not 0! */
  1413. X+ 
  1414. X+ extern BOOLEAN xzeroaxis;
  1415. X+ extern BOOLEAN yzeroaxis;
  1416. X  
  1417. X  extern BOOLEAN xtics;
  1418. X  extern BOOLEAN ytics;
  1419. Xdiff -cr ./standard.c ../gnuplot2.02/standard.c
  1420. X*** ./standard.c    Tue Sep 18 14:57:05 1990
  1421. X--- ../gnuplot2.02/standard.c    Tue Dec  4 09:22:48 1990
  1422. X***************
  1423. X*** 491,498
  1424. X              push( integer(&a,(int)floor((double)a.v.int_val)));            
  1425. X              break;
  1426. X          case CMPLX:
  1427. X!             push( complex(&a,floor(a.v.cmplx_val.real),
  1428. X!                 floor(a.v.cmplx_val.imag)) );
  1429. X      }
  1430. X  }
  1431. X  
  1432. X
  1433. X--- 491,497 -----
  1434. X              push( integer(&a,(int)floor((double)a.v.int_val)));            
  1435. X              break;
  1436. X          case CMPLX:
  1437. X!             push( integer(&a,(int)floor(a.v.cmplx_val.real)));
  1438. X      }
  1439. X  }
  1440. X  
  1441. X***************
  1442. X*** 507,513
  1443. X              push( integer(&a,(int)ceil((double)a.v.int_val)));            
  1444. X              break;
  1445. X          case CMPLX:
  1446. X!             push( complex(&a,ceil(a.v.cmplx_val.real), ceil(a.v.cmplx_val.imag)) );
  1447. X      }
  1448. X  }
  1449. X  
  1450. X
  1451. X--- 506,512 -----
  1452. X              push( integer(&a,(int)ceil((double)a.v.int_val)));            
  1453. X              break;
  1454. X          case CMPLX:
  1455. X!             push( integer(&a,(int)ceil(a.v.cmplx_val.real)));
  1456. X      }
  1457. X  }
  1458. X  
  1459. X***************
  1460. X*** 519,525
  1461. X  register double y;
  1462. X  struct value a;
  1463. X  
  1464. X!     y = gamma(real(pop(&a)));
  1465. X      if (y > 88.0) {
  1466. X          undefined = TRUE;
  1467. X          push( integer(&a,0) );
  1468. X
  1469. X--- 518,524 -----
  1470. X  register double y;
  1471. X  struct value a;
  1472. X  
  1473. X!     y = GAMMA(real(pop(&a)));
  1474. X      if (y > 88.0) {
  1475. X          undefined = TRUE;
  1476. X          push( integer(&a,0) );
  1477. XCommon subdirectories: ./term and ../gnuplot2.02/term
  1478. Xdiff -cr ./demo/using.demo ../gnuplot2.02/demo/using.demo
  1479. X*** ./demo/using.demo    Thu Nov 29 11:08:09 1990
  1480. X--- ../gnuplot2.02/demo/using.demo    Mon Nov 26 23:04:29 1990
  1481. X***************
  1482. X*** 0
  1483. X
  1484. X--- 1,23 -----
  1485. X+ #
  1486. X+ # Requires data file "using.dat" from this directory,
  1487. X+ # so change current working directory to this directory before running.
  1488. X+ #
  1489. X+ set samples 168
  1490. X+ set title "Convex     November 1-7 1989"
  1491. X+ set label "(Weekend)" at 5,25 center
  1492. X+ plot 'using.dat' using "%*s %*s %f %f" title "Logged in" with impulses,\
  1493. X+      'using.dat' using "%*s %*s %f %*f %f" t "Load average" with points,\
  1494. X+      'using.dat' using "%*s %*s %f %*f %*f %f" t "%CPU used" with lines
  1495. X+ set nolabel
  1496. X+ pause -1 "Hit return to continue"
  1497. X+ 
  1498. X+ set title "Convex     November 1-7 1989    Circadian"
  1499. X+ set xrange[-1:24]
  1500. X+ plot 'using.dat' using "%*s %f %*f %f" title "Logged in" with impulses,\
  1501. X+      'using.dat' using "%*s %f %*f %f" title "Logged in" with points
  1502. X+ pause -1 "Hit return to continue"
  1503. X+ 
  1504. X+ # undo what we have done above
  1505. X+ set title
  1506. X+ set samples 160
  1507. X+ set xrange [-10:10]
  1508. Xdiff -cr ./docs/doc2ms.c ../gnuplot2.02/docs/doc2ms.c
  1509. X*** ./docs/doc2ms.c    Tue Mar 27 08:59:39 1990
  1510. X--- ../gnuplot2.02/docs/doc2ms.c    Thu Nov 29 10:02:07 1990
  1511. X***************
  1512. X*** 124,130
  1513. X                  break;
  1514. X               }
  1515. X               default: {
  1516. X!                 putms(line+1,b); 
  1517. X                  break;
  1518. X               }
  1519. X               break;
  1520. X
  1521. X--- 124,133 -----
  1522. X                  break;
  1523. X               }
  1524. X               default: {
  1525. X!                 if (line[0] == '\n')
  1526. X!                   putms(line,b); /* handle totally blank line */
  1527. X!                 else
  1528. X!                   putms(line+1,b);
  1529. X                  break;
  1530. X               }
  1531. X               break;
  1532. Xdiff -cr ./docs/doc2tex.c ../gnuplot2.02/docs/doc2tex.c
  1533. X*** ./docs/doc2tex.c    Thu Aug 30 16:14:59 1990
  1534. X--- ../gnuplot2.02/docs/doc2tex.c    Thu Nov 29 10:02:09 1990
  1535. X***************
  1536. X*** 107,113
  1537. X                  (void) fputs("\\end{verbatim}\n",b);
  1538. X                  verb=FALSE;
  1539. X               } 
  1540. X!              puttex(line+1,b);
  1541. X            }
  1542. X            break;
  1543. X         }
  1544. X
  1545. X--- 107,116 -----
  1546. X                  (void) fputs("\\end{verbatim}\n",b);
  1547. X                  verb=FALSE;
  1548. X               } 
  1549. X!              if (line[0] == '\n')
  1550. X!                puttex(line,b); /* handle totally blank line */
  1551. X!              else
  1552. X!                puttex(line+1,b);
  1553. X            }
  1554. X            break;
  1555. X         }
  1556. Xdiff -cr ./docs/gnuplot.1 ../gnuplot2.02/docs/gnuplot.1
  1557. X*** ./docs/gnuplot.1    Tue Sep 18 14:57:57 1990
  1558. X--- ../gnuplot2.02/docs/gnuplot.1    Mon Dec 10 10:38:09 1990
  1559. X***************
  1560. X*** 47,53
  1561. X  HP2648,
  1562. X  HP75xx,
  1563. X  HPGL,
  1564. X! IBM Proprinter,
  1565. X  Imagen,
  1566. X  Iris 4D,
  1567. X  Kermit-MS,
  1568. X
  1569. X--- 47,53 -----
  1570. X  HP2648,
  1571. X  HP75xx,
  1572. X  HPGL,
  1573. X! HP LaserJet II,
  1574. X  Imagen,
  1575. X  Iris 4D,
  1576. X  Kermit-MS,
  1577. X***************
  1578. X*** 51,56
  1579. X  Imagen,
  1580. X  Iris 4D,
  1581. X  Kermit-MS,
  1582. X  LaTeX,
  1583. X  NEC CP6 pinwriter,
  1584. X  PostScript,
  1585. X
  1586. X--- 51,57 -----
  1587. X  Imagen,
  1588. X  Iris 4D,
  1589. X  Kermit-MS,
  1590. X+ Kyocera laser printer,
  1591. X  LaTeX,
  1592. X  NEC CP6 pinwriter,
  1593. X  PostScript,
  1594. X***************
  1595. X*** 56,61
  1596. X  PostScript,
  1597. X  QMS QUIC,
  1598. X  ReGis (VT125 and VT2xx),
  1599. X  Selanar,
  1600. X  Star color printer,
  1601. X  Tandy DMP-130 printer,
  1602. X
  1603. X--- 57,63 -----
  1604. X  PostScript,
  1605. X  QMS QUIC,
  1606. X  ReGis (VT125 and VT2xx),
  1607. X+ SCO Xenix CGI,
  1608. X  Selanar,
  1609. X  Star color printer,
  1610. X  Tandy DMP-130 printer,
  1611. X***************
  1612. X*** 62,68
  1613. X  Tek 401x,
  1614. X  Tek 410x,
  1615. X  Vectrix 384,
  1616. X! Unix PC (ATT 3b1 or ATT 7300)
  1617. X  unixplot,  
  1618. X  and X11.
  1619. X  The PC version compiled by Microsoft C
  1620. X
  1621. X--- 64,71 -----
  1622. X  Tek 401x,
  1623. X  Tek 410x,
  1624. X  Vectrix 384,
  1625. X! VT like tekronix emulator,
  1626. X! Unix PC (ATT 3b1 or ATT 7300),
  1627. X  unixplot,  
  1628. X  and X11.
  1629. X  The PC version compiled by Microsoft C
  1630. Xdiff -cr ./term/unixpc.trm ../gnuplot2.02/term/unixpc.trm
  1631. X*** ./term/unixpc.trm    Tue Sep 18 14:59:18 1990
  1632. X--- ../gnuplot2.02/term/unixpc.trm    Wed Dec 12 11:00:30 1990
  1633. X***************
  1634. X*** 81,88
  1635. X  #define uPC_XLAST (uPC_XMAX - 1)
  1636. X  #define uPC_YLAST (uPC_YMAX - 1)
  1637. X  
  1638. X! #define uPC_VCHAR 11
  1639. X! #define uPC_HCHAR  7
  1640. X  #define uPC_VTIC   8
  1641. X  #define uPC_HTIC  12
  1642. X  
  1643. X
  1644. X--- 81,88 -----
  1645. X  #define uPC_XLAST (uPC_XMAX - 1)
  1646. X  #define uPC_YLAST (uPC_YMAX - 1)
  1647. X  
  1648. X! #define uPC_VCHAR FNT5X9_VCHAR
  1649. X! #define uPC_HCHAR FNT5X9_HCHAR
  1650. X  #define uPC_VTIC   8
  1651. X  #define uPC_HTIC  12
  1652. X  
  1653. X***************
  1654. X*** 467,474
  1655. X  unsigned int x, y;
  1656. X  int c, angle;
  1657. X  /*
  1658. X!    Put a character at an x,y location in the bit map (using the font5x7
  1659. X!    array.  This is mostly just copied from the epson driver.
  1660. X  */
  1661. X  {
  1662. X     int i, j, k;
  1663. X
  1664. X--- 467,474 -----
  1665. X  unsigned int x, y;
  1666. X  int c, angle;
  1667. X  /*
  1668. X!    Put a character at an x,y location in the bit map (using the fnt5x9
  1669. X!    array.  This is mostly just copied from the bitmap.c driver.
  1670. X  */
  1671. X  {
  1672. X     int i, j, k;
  1673. X***************
  1674. X*** 473,479
  1675. X  {
  1676. X     int i, j, k;
  1677. X     register Scr_type mask, *a;
  1678. X!    char fc;
  1679. X     unsigned int pixelon;
  1680. X  
  1681. X     i = c - ' ';
  1682. X
  1683. X--- 473,479 -----
  1684. X  {
  1685. X     int i, j, k;
  1686. X     register Scr_type mask, *a;
  1687. X!    char_row fc;
  1688. X     unsigned int pixelon;
  1689. X  
  1690. X     i = c - ' ';
  1691. X***************
  1692. X*** 477,485
  1693. X     unsigned int pixelon;
  1694. X  
  1695. X     i = c - ' ';
  1696. X!    for(j=0; j < 9; j++) {
  1697. X!       fc = font5x7[i][j];
  1698. X!       for (k=0; k < 5; k++) {
  1699. X           pixelon = ((unsigned int)(fc))>>k & 1;
  1700. X           if (pixelon) {
  1701. X              switch (angle) {
  1702. X
  1703. X--- 477,485 -----
  1704. X     unsigned int pixelon;
  1705. X  
  1706. X     i = c - ' ';
  1707. X!    for (j=0; j<FNT5X9_VBITS; j++) {
  1708. X!       fc = fnt5x9[i][j];
  1709. X!       for (k=0; k<FNT5X9_HBITS; k++) {
  1710. X           pixelon = ((unsigned int)(fc))>>k & 1;
  1711. X           if (pixelon) {
  1712. X              switch (angle) {
  1713. END_OF_patch2d
  1714. if test 47123 -ne `wc -c <patch2d`; then
  1715.     echo shar: \"patch2d\" unpacked with wrong size!
  1716. fi
  1717. # end of overwriting check
  1718. fi
  1719. echo shar: End of shell archive.
  1720. exit 0
  1721.  
  1722. exit 0 # Just in case...
  1723. -- 
  1724. Kent Landfield                   INTERNET: kent@sparky.IMD.Sterling.COM
  1725. Sterling Software, IMD           UUCP:     uunet!sparky!kent
  1726. Phone:    (402) 291-8300         FAX:      (402) 291-4362
  1727. Please send comp.sources.misc-related mail to kent@uunet.uu.net.
  1728.